package sanrenxing.dayEnd.backRepertoryTotal.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * 功能:TA交易结算
 * 编写者：
 * 日期：2021
 * 版本：1.0
 */
public class TATrabsactionSettlementTwo implements Serializable {
    //基金名称
    private String fundName;
    //TA交易编号
    private int dataId;
    //现金账户Id
    private String accName;
    //单价
    private double price;
    //数量
    private Long numbers;
    //总金额
    private double sumMoney;
    //交易日期
    private Date dates;
    //类型
    private int tranType;
    //状态
    private int tranStatus;

    public TATrabsactionSettlementTwo() {
    }

    public TATrabsactionSettlementTwo(String fundName, int dataId, String accName, double price, Long numbers, double sumMoney, Date dates, int tranType, int tranStatus) {
        this.fundName = fundName;
        this.dataId = dataId;
        this.accName = accName;
        this.price = price;
        this.numbers = numbers;
        this.sumMoney = sumMoney;
        this.dates = dates;
        this.tranType = tranType;
        this.tranStatus = tranStatus;
    }

    public String getFundName() {
        return fundName;
    }

    public void setFundName(String fundName) {
        this.fundName = fundName;
    }

    public int getDataId() {
        return dataId;
    }

    public void setDataId(int dataId) {
        this.dataId = dataId;
    }

    public String getAccName() {
        return accName;
    }

    public void setAccName(String accName) {
        this.accName = accName;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public Long getNumbers() {
        return numbers;
    }

    public void setNumbers(Long numbers) {
        this.numbers = numbers;
    }

    public double getSumMoney() {
        return sumMoney;
    }

    public void setSumMoney(double sumMoney) {
        this.sumMoney = sumMoney;
    }

    public Date getDates() {
        return dates;
    }

    public void setDates(Date dates) {
        this.dates = dates;
    }

    public int getTranType() {
        return tranType;
    }

    public void setTranType(int tranType) {
        if(tranType==0) {
            this.tranType = 0;
        }else
        this.tranType = tranType;
    }

    public int getTranStatus() {
        return tranStatus;
    }

    public void setTranStatus(int tranStatus) {
        if(tranStatus==0){
            this.tranStatus=0;
        }else
        this.tranStatus = tranStatus;
    }
}
